<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
    <head>
    </head>
    <body>    
    	<h1>List of all skills</h1>
    	<p>Skills currently on system</p>
    	<table border="1">
			<thead>
            <tr>
                <th>Skill ID</th>
                <th>Skill Title</th>
            </tr>
			</thead>
            <tbody>
				<c:forEach var="skill" items="${skills}">
					<tr>
						<td><a href="UpdateSkills?idSkill=${skill.idSkill}">${skill.idSkill}</a></td>
						<td>${skill.name}</td>     
					</tr>
                </c:forEach>
            </tbody>
        </table>
        <p>
        <a href="addSkill">Add new skill</a>
        
        </p>
	</body>
</html>